const BasicRouter = {
  route: null,
  name: null,
  title: '监控位置管理',
  type: 'folder', // 类型: folder, tab, view
  icon: 'el-icon-school',
  filePath: 'view/ag_basicinfo/', // 文件路径
  order: null,
  inNav: true,
  children: [
    {
      title: '楼栋管理',
      type: 'folder',
      name: null,
      filePath: 'view/ag_basicinfo/ag_building/',
      inNav: true,
      children: [

        {
          title: '楼栋列表',
          type: 'view',
          name: 'BuildingList',
          route: '/building/list',
          filePath: 'view/ag_basicinfo/ag_building/building-list.vue',
          inNav: true,
          icon: 'el-icon-office-building',
        },
        {
        title: '添加楼栋',
        type: 'view',
        name: 'BuildingCreate',
        route: '/building/create',
        filePath: 'view/ag_basicinfo/ag_building/building-create.vue',
        inNav: true,
        icon: 'el-icon-circle-plus-outline',
      },
      ]
    },

    {
      title: '房间管理',
      type: 'folder',
      name: null,
      filePath: 'view/ag_basicinfo/ag_room/',
      inNav: true,
      children: [
        {
          title: '房间列表',
          type: 'view',
          name: 'RoomList',
          route: '/room/list',
          filePath: 'view/ag_basicinfo/ag_room/room-list.vue',
          inNav: true,
          icon: 'el-icon-s-shop',
        },
      ]
    }, 
    {
      title: '监控对象管理',
      type: 'folder',
      name: null,
      filePath: 'view/ag_basicinfo/ag_monitoring/',
      inNav: true,
      children: [
        {
          title: '监控房间管理',
          type: 'view',
          name: 'UnitList',
          route: '/monitoring/object/list',
          filePath: 'view/ag_basicinfo/ag_monitoring/monitoring-room-list.vue',
          inNav: true,
          icon: 'el-icon-s-shop',
        },
        {
          title: '监控设备管理',
          type: 'view',
          name: 'monitoring',
          route: '/monitoring/devices/list',
          filePath: 'view/ag_basicinfo/ag_monitoring/monitoring-devices-list.vue',
          inNav: true,
          icon: 'el-icon-s-shop',
        },
      ]
    },
  ],
}

export default BasicRouter
